package com.ruiben.mall.impl;

import com.ruiben.mall.IBannerService;
import com.ruiben.mall.mapper.BannerMapper;
import com.ruiben.mall.pojo.Banner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerServiceImpl implements IBannerService {

    @Autowired
    private BannerMapper bannerMapper;


    public List<Banner> getBannerList(){
        return bannerMapper.getBannerList();
    }
}
